﻿using WH.Model.Systems;
using WH.Repositories.BaseRepositories;

namespace WH.Repositories.IRepositories.ISystem
{
    public interface IKeyValueRepository : IBaseRepository<KeyValueEntity>
    {
        Task<KeyValueEntity?> GetKeyValueByCodeAsync(string code);

        Task<string[]> GetChildIds(string parentId);
    }
}
